package com.wxproject.demo.Entity.AO;

import com.wxproject.demo.Utils.DateUtils;
import lombok.Data;
import org.springframework.util.unit.DataUnit;

import javax.validation.constraints.NotBlank;

/**
 * @author zqf
 * @date 2021/4/30 18:58
 * @description
 */
@Data
public class ReplyArticleAO {
    private String id;
    private String userId;
    @NotBlank(message = "评论信息不能为空")
    private String content;
    @NotBlank(message = "文章id不能为空")
    private String articleId;
    private String createTime= DateUtils.getMinutesDate();
}
